package com.jdk7.mo.process;

import com.jdk7.mo.entity.Teacher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;

public class TeacherItemProcessor implements ItemProcessor<Teacher, Teacher> {
    private Logger logger = LoggerFactory.getLogger(this.getClass());

    public Teacher process(Teacher teacher) throws Exception {
        logger.info("Processing...");
        return teacher;
    }
}
